package com.wlzg.collectiontool.model.bean

import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey
import androidx.room.TypeConverters
import com.google.gson.annotations.SerializedName
import com.wlzg.collectiontool.db.HunjieConvert
import com.wlzg.collectiontool.db.ImageConvert
import com.wlzg.collectiontool.util.DateUtil

@Entity(tableName = "PsJin")
@TypeConverters(HunjieConvert::class,ImageConvert::class)
open class PsJin :BaseGuandian(){
    @PrimaryKey(autoGenerate = true)
    var jinId :Long?=null
    @SerializedName("addiFac")
    var addiFac: String? = null

    @SerializedName("airbag")
    var airbag: Int? = 0

    @SerializedName("airbagData")
    var airbagData: String? = null

    @SerializedName("antifallin")
    var antifallin: Int? = null

    @SerializedName("bottomStyle")
    var bottomStyle: Int? = 0

    @SerializedName("chamberHeight")
    var chamberHeight: Int? = null

    @SerializedName("chamberLength")
    var chamberLength: Int? = null

    @SerializedName("chamberType")
    var chamberType: String? = null

    @SerializedName("chamberWidth")
    var chamberWidth: Int? = null

    @SerializedName("connected")
    var connected: Int? = null

    @SerializedName("constructionAge")
    var constructionAge: String? = null

    @SerializedName("covDimen1")
    var covDimen1: Double? = 0.0

    @SerializedName("covDimen2")
    var covDimen2: Int? = null

    @SerializedName("covDimen3")
    var covDimen3: Int? = null

    @SerializedName("covMaterial")
    var covMaterial: Int? = 0

    @SerializedName("covShape")
    var covShape: Int? = 0

    @SerializedName("covThickn")
    var covThickn: Int? = null

    @SerializedName("createBy")
    var createBy: String? = null

    @SerializedName("createTime")
    var createTime: String? = null

    @SerializedName("datasource")
    var datasource: Int? = null

    @SerializedName("delFlag")
    var delFlag: Int? = null

    @SerializedName("depth")
    var depth: Double? = 0.0

    @SerializedName("direct")
    var direct: Int? = null

    @SerializedName("districtId")
    var districtId: String? = null

    @SerializedName("districtName")
    var districtName: String? = null

    @SerializedName("fileRelation")
    var fileRelation: String? = null

    @SerializedName("hybjunFlo")
    var hybjunFlo: Int? = null

    @SerializedName("hybjunQua")
    var hybjunQua: Int? = null

    @SerializedName("hybjunctio")
    var hybjunctio: Int? = null

    @SerializedName("isComplete")
    var ifComplete: Int? = null

    @SerializedName("juncClass")
    var juncClass: Int? = null

    @SerializedName("locationcode")
    var locationcode: String? = null

    @SerializedName("manholeCategory")
    var manholeCategory: Int? = 0

    @SerializedName("manholeStyle")
    var manholeStyle: Int? = 0

    @SerializedName("manholeType")
    var manholeType: Int? = 0

    @SerializedName("manholecode")
    var manholecode: String? = null

    @SerializedName("manholeid")
    var manholeid: String? = null

    @SerializedName("manholepic")
    var manholepic: String? = null

    @SerializedName("mapcode")
    var mapcode: String? = null

    @SerializedName("objectid")
    var objectid: Int? = null

    @SerializedName("ownershipUnit")
    var ownershipUnit: String? = null

    @SerializedName("pipecode")
    var pipecode: String? = null

    @SerializedName("pipehe")
    var pipehe: Int? = null

    @SerializedName("pipenum")
    var pipenum: Int? = null

    @SerializedName("recordDate")
    var recordDate: String? = null

    @SerializedName("relatedd")
    var relatedd: String? = null

    @SerializedName("remark")
    var remark: String? = null

    @SerializedName("remark2")
    var remark2: String? = null

    @SerializedName("reportDate")
    var reportDate: String? = null

    @SerializedName("reportUnit")
    var reportUnit: String? = null

    @SerializedName("roadName")
    var roadName: String? = null

    @SerializedName("roadid")
    var roadid: Int? = null

    @SerializedName("shape")
    var shape: String? = null

    @SerializedName("status")
    var status: Int? = null

    @SerializedName("surfaceEl")
    var surfaceEl: Int? = null

    @SerializedName("surveyDate")
    var surveyDate: String? = null

    @SerializedName("surveySedidepth")
    var surveySedidepth: Int? = null

    @SerializedName("surveyWaterdepth")
    var surveyWaterdepth: Int? = null

    @SerializedName("systemCode")
    var systemCode: String? = null

    @SerializedName("tenantId")
    var tenantId: Int? = null

    @SerializedName("updateBy")
    var updateBy: String? = null

    @SerializedName("updateTime")
    var updateTime: String? = null

    @SerializedName("wellboreHeight")
    var wellboreHeight: Int? = null

    @SerializedName("x1Coor")
    var x1Coor: Double = 0.0

    @SerializedName("xcoor")
    var xcoor: Int? = null

    @SerializedName("y1Coor")
    var y1Coor: Double = 0.0

    @SerializedName("ycoor")
    var ycoor: Int? = null

    init {
        createTime= DateUtil.getCurData()
    }
}